<configuration>
<property>
  <name>javax.jdo.option.ConnectionURL</name>
  <value>jdbc:postgresql://localhost/hive_metastore</value>
</property>
 
<property>
  <name>javax.jdo.option.ConnectionDriverName</name>
  <value>org.postgresql.Driver</value>
</property>
 
<property>
  <name>javax.jdo.option.ConnectionUserName</name>
  <value>hiveuser</value>
</property>
 
<property>
  <name>javax.jdo.option.ConnectionPassword</name>
  <value>hivepass</value>
</property>

<property>
  <name>hive.metastore.warehouse.dir</name>
  <value>/user/hive/warehouse</value>
  </property> 

<property>
<name>hive.exec.scratchdir</name>
<value>/tmp</value>
</property> 

<property>
<name>hive.execution.engine</name>
<value>spark</value>
</property> 

<property>
  <name>spark.yarn.jars</name>
  <value>hdfs://localhost:9000/spark-jars/*</value>
</property>

</configuration>

